package com.woniu.supermarket.service.impl;

import com.woniu.supermarket.mapper.OutboundDetailMapper;
import com.woniu.supermarket.service.IOutboundDetailService;
import com.woniu.supermarket.vo.OutboundDetailVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OutboundDetailServiceImpl implements IOutboundDetailService {

    @Autowired
    OutboundDetailMapper outboundDetailMapper;

    @Override
    public List<OutboundDetailVo> findByOutboundId(Integer id) {
        return outboundDetailMapper.selectByOutboundId(id);
    }

}
